//
//  SDBaseViewController.h
//  SKinDiary
//
//  Created by pcyang on 16/6/26.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SDNavigationBar.h"

@protocol SDBaseViewCallBack <NSObject>
@optional
-(CGRect) loadingFrameOfView;
-(CGRect) failedLoadingFrameOfView;
@end


@interface SDBaseViewController : UIViewController<SDBaseViewCallBack>

@property(nonatomic,assign) BOOL isCustomPageJumpReport;
@property(nonatomic,assign) BOOL isWhiteStatusBar;
@property(nonatomic,strong) SDNavigationBar *navBar;

- (BOOL)navigationBarHidden;
- (void)relayoutNaviBar;
- (void)setStatusBarIsWhite:(BOOL)isWhite;

- (void)simulationRefreshOfPullDown;//===模拟下拉刷新，子类实现

-(NSString*) pageIdentifier;

//右滑手势相关
- (void)popUp:(BOOL)animated;

- (BOOL)responseDragbackAtScreenPoint:(CGPoint)screenPoint;

@end

@interface SDBaseViewController(login)
-(void)showLoginViewController;
@end

